﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace SIOCUR.Models
{
    [MetadataType(typeof(RASTREO_DE_LOTE_Validador))]
    public partial class RASTREO_DE_LOTE
    {
        //Nada
    }

    public class RASTREO_DE_LOTE_Validador
    {

        public int ID
        {
            get;
            set;
        }
        
        [Required(ErrorMessage = " -->  Lote es Requerido")]
        public int LOTE
        {
            get;
            set;
        }

        [Required(ErrorMessage = " -->  Año es Requerido")]
        public int AÑO
        {
            get;
            set;
        }

        public Double FECHA
        {
            get;
            set;
        }

        [Required(ErrorMessage = " -->  Volumen es Requerido")]
        public int VOLUMEN
        {
            get;
            set;
        }

        [Required(ErrorMessage = " -->  Km Inicial es Requerido")]
        public Double KM_INICIAL
        {
            get;
            set;
        }

        [Required(ErrorMessage = " -->  Km Final es Requerido")]
        public Double KM_FINAL
        {
            get;
            set;
        }



    }
}